package com.xs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xs.dao.CommentsDao;
import com.xs.entity.Comments;
import com.xs.entity.Message;
import com.xs.service.CommentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentsServiceImpl extends ServiceImpl<CommentsDao, Comments> implements CommentsService {
    @Autowired
    private CommentsDao commentsDao;

    @Override
    public List<Comments> findCommentDetail(Integer fid) {
        return commentsDao.findCommentDetail(fid);
    }
}
